package com.rxh.service.impl.merchant;

import com.rxh.mapper.merchant.MerchantGoodsMapper;
import com.rxh.pojo.merchant.MerchantGoods;
import com.rxh.service.base.AbstractBaseService;
import com.rxh.service.merchant.MerchantGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantGoodsServiceImpl extends AbstractBaseService<MerchantGoods, Long> implements MerchantGoodsService {
    private final MerchantGoodsMapper merchantGoodsMapper;

    @Autowired
    public MerchantGoodsServiceImpl(MerchantGoodsMapper merchantGoodsMapper) {
        this.merchantGoodsMapper = merchantGoodsMapper;
        setMapper(merchantGoodsMapper);
    }
}